#! /usr/bin/env python
#coding=utf-8

from Ini2Dict import Ini2Dict
i = Ini2Dict()
ini = i.GetDict() 

from ServerDoing import DoingListen
from twisted.application import service
#from twisted.python import log  


def main(): 
    global ini
    DoingListen(ini['Lhost'], int(ini['Lport']))
    print "start ..."
    return  
   
if __name__=='__main__':  
     main()
elif __name__=='__builtin__':  
     main()  
     application=service.Application('hello')  

    
    